import {
    OVER_LINE_DOCS,
    OVER_LINE_ORDER_DETAIL
} from "../actions/actionsTypes";


export default function overLineReducer(state = {}, action) {
    switch (action.type) {
        case OVER_LINE_DOCS:
            return Object.assign({}, state, {overLineDocs: action.data});
        case OVER_LINE_ORDER_DETAIL:
            return Object.assign({}, state, {overLineOrderDetail: action.data});
        default:
            return state;
    }
}